home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 201-220 / scopedisk214 / skeleton / private.c < prev    next >
C/C++ Source or Header  |  1995-03-19  |  670b  |  37 lines

  1. /*
  2.  * private.c - private functions for skeleton class.
  3.  *
  4.  * Public Domain.
  5.  *
  6.  * Christian E. Hopps.
  7.  *
  8.  * (this file could be broken into more if it was too big.)
  9.  */
  10.  
  11. #include <proto/utility.h>
  12. #include <skeleton_internal.h>
  13. #include <skeleton.h>
  14. #include <classglue.h>
  15.  
  16. ULONG Skeleton_setattrs( Class *class, Object *obj, struct opSet *msg)
  17. {
  18.     struct TagItem *taglist, *tag;
  19.  
  20.     taglist = msg->ops_AttrList;
  21.  
  22.     while(tag = NextTagItem(&taglist) ) {
  23.  
  24.         switch(tag->ti_Tag) {
  25.         case SKA_NoOp:
  26.         default:
  27.             /*
  28.              * this would be one (or many) of your defined tags
  29.              * tag->ti_Data will be the data associated with the
  30.              * tag.
  31.              */
  32.             break;
  33.         }
  34.     }
  35.  
  36.     return(1);
  37. }